package com.dhecp.project.finance.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.common.domain.UpdateFlow;
import com.dhecp.project.finance.domain.TcwCapitalRegister;
import com.dhecp.project.hr.domain.OperateCompanyApply;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TcwCapitalRegisterMapper extends GenericDao<TcwCapitalRegister, String> {
    /**
     * 查询列表数据
     */
    List<TcwCapitalRegister> querySoList(Map<String, Object> params);

    /**
     *@Description: 修改流程状态及生效标志（仅需 guid、activeFlow、effectStock、updateTime）
     *@Param: [updateFlow]
     *@return: int
     *@Author: hlf
     *@date: 2022-05-09 10:13
     */
    int updateFlow(UpdateFlow updateFlow);


    /**
     * 查询运营公司信息，根据编码
     */
    List<OperateCompanyApply> queryOperateCompanyApplyByVGsBm(@Param("vGsBm") String vGsBm);
}
